<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
</head>
<body>
	<script type="text/javascript">
	  //var a=1+2*3;
	  //console.log(a);//7
	  
	  //var a=12/2*3+2;
	  //console.log(a);//20
	  
	  //var a=(1+2)*3+3*5;
	  //console.log(a);//24
	  
	  /*var a=((1+2)*3+3)*5;
	  console.log(a);//60
	  */
	   //取余
	   
	   //var a =13%5;
	   //console.log(a);//3
	   //百分号是取余数的意思,因为13/5=2...3.所以结果是3,得几不重要,我们关系的就是你余数
	   
	   console.log(10%5);//0.因为可以整除
	 
	 
	</script>
</body>
</html>